package com.example.vote.bean;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_user")
public class User {
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 电话号码
     */
    @ExcelProperty("工号")
    private String phone;

    /**
     * 名称
     */
    @ExcelProperty("姓名")
    private String name;


}
